/*
 * anima/pc/console.hh - PC-specific console interface.
 * Copyright (C) 2007  Mikhail Vorozhtsov
 * See the LICENSE section of the README file for details.
 */

/* $Id$ */

#ifndef HEADER_ANIMA_PC_CONSOLE_HH
#define HEADER_ANIMA_PC_CONSOLE_HH

#include HEADER (anima,cmdline.hh)
#include HEADER (anima,firmware.hh)

START_NAMESPACE2 (anima,pc)

class console
{
  friend class ::anima::cmdline;
  friend class ::anima::firmware;

protected:
  static const cmdline::option_t console_type_option;
  static const cmdline::option_t console_serial_port_option;
  static const cmdline::option_t console_serial_baud_rate_option;

protected:
  static bool vga_console_p ();
  static void *get_vga_video_mem ();
  static void set_vga_video_mem (void *video_mem);
};

END_NAMESPACE2

#endif /* HEADER_ANIMA_PC_CONSOLE_HH */

